﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WebStudio.Business.Rule;

public partial class ProductList : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            loadData();
        }
    }

    private void loadData()
    {
        rptProductBind();
    }

    private void rptProductBind()
    {
        rptProduct.DataSource = AlbumRule.GetParentAlbumlList(0);
        rptProduct.DataBind();
    }
}
